package com.xy.modular.shop.entity;

import com.xy.framework.base.entity.Entity;

/**
 * <p>
 * 图片表我们也可以添加 图片名称 图片扩展名 图片大小 等属性字段，也可以忽略，但图片路径必填项
 * </p>
 *
 * @author BCK
 * @since 2019-10-12
 */
public class ProductImg1 extends Entity {

    private static final long serialVersionUID = 1L;

    /**
     *  	图片名称
     */
    private String name;
    /**
     *  	图片扩展名
     */
    private String ext;
    /**
     *  	图片大小
     */
    private Integer size;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }
    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public static final String NAME = "shop_product_img1.name";
    public static final String EXT = "shop_product_img1.ext";
    public static final String SIZE = "shop_product_img1.size";

    @Override
    public String toString() {
        return "ProductImg1{" +
            "name=" + name +
            ", ext=" + ext +
            ", size=" + size +
        "}";
    }
}
